package com.jy.adscm.operation.purchase.bean;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.jy.adscm.operation.xjfile.bean.XjFile;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * <p>
 * bom清单表
 * </p>
 *
 * @author lzf
 * @since 2019-05-05
 */
@Data
public class Bom implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 物料编码
     */
    private String code;
    /**
     * 物料名称
     */
    private String name;
    /**
     * 规格型号
     */
    private String specification;
    /**
     * 管理等级
     */
    @TableField("managerLevel")
    private String managerLevel;

    @TableField(exist = false)
    private String managerLevelName;
    /**
     * 成本
     */
    private BigDecimal cost;
    /**
     * 材质
     */
    private String texture;
    /**
     * 使用归属
     */
    @TableField("useBelonging")
    private String useBelonging;
    @TableField(exist = false)
    private String useBelongingName;
    /**
     * 种类属性
     */
    @TableField("typeAttributes")
    private String typeAttributes;
    @TableField(exist = false)
    private String typeAttributesName;


    /**
     * 复杂系数
     */
    @TableField("complexityLevel")
    private String complexityLevel;
    /**
     * 制程属性
     */
    @TableField("manufactureProcedure")
    private String manufactureProcedure;
    @TableField("parentId")
    private Long parentId;
//    @TableField("childId")
//    private Long childId;

    /**
     * 填写人
     */
    @TableField("signedPerson")
    private String signedPerson;
    /**
     * 填写时间
     */
    @TableField("signedTime")
    private Date signedTime;

    @TableField("figureNum")
    private String figureNum;

}
